<div id="side_bar_inner_container">
    <div id="header">
        <?php if($user->isAuthenticated()) { ?>
            Logged in as: <?php echo $user->username; ?><br/>
            <input type="button" id="btn_logout" value="Logout" />
        <?php } else { ?>
            Login for more options <br/><input type="button" id="btn_open_login" value="Login" />
        <?php } ?>
    </div>
    <div id="layer_selection">
        <h3>Layers</h3>
        <input type="checkbox" name="ckb_layer_panoramio_tag" id="ckb_layer_panoramio_tag" value="layer_panoramio" /><label for="ckb_layer_panoramio_tag">Panoramio tag</label><input type="text" id="txt_paoramio_tag" value="zeilboot" /><br/>
        <input type="checkbox" name="ckb_layer_panoramio" id="ckb_layer_panoramio" value="layer_panoramio" /><label for="ckb_layer_panoramio">Panoramio user</label><br/>
        <input type="checkbox" name="ckb_layer_flickr" id="ckb_layer_flickr" value="layer_flickr" /><label for="ckb_layer_flickr">Flickr</label><br/>
        <input type="checkbox" name="ckb_layer_path" id="ckb_layer_path" value="layer_path" /><label for="ckb_layer_path">Path</label><br/>
    </div>
    <div id="options_selection">
          <h3>Options</h3> 
          <input type="button" id="btn_home" value="Home" /><br/>
          <input type="button" id="btn_to_user_position" value="My Posistion" /><br/>
          <?php if($user->isAuthenticated()) { ?>
            <input type="button" id="btn_add_log_message" value="Add log message" /><br/>
          <?php } ?>
    </div>
    <?php if($user->isAuthenticated() && $user->status == $user->ADMIN_USER){ ?>
    <div id="admin_options"> 
        <h3>Admin option</h3>
        /
    </div>
     <?php } ?>
</div>